package com.gae.blore.server;

import java.util.List;

import com.gae.blore.client.MetroStationService;
import com.gae.blore.client.domain.MetroStation;
import com.gae.blore.server.dao.IMetroStationDao;
import com.gae.blore.server.dao.MetroStationDao;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;

public class MetroStationServiceImpl extends RemoteServiceServlet implements
		MetroStationService {
	/**
	 * 
	 */
	private static final long serialVersionUID = -3284170010876947868L;
	IMetroStationDao metroStationDao = new MetroStationDao();

	@Override
	public List<MetroStation> getAllMetroStations() {
		return metroStationDao.getMetroStations();

	}

	@Override
	public MetroStation getMetroStation(Long id) {
		return metroStationDao.getMetroStation(id);
	}

}
